
$(document).ready(function(){
    $("#login_link").click(function(){
        $("#login-panel").slideToggle(200);
    })
})
$(document).keydown(function(e) {
    if (e.keyCode == 27) {
        $("#login-panel").hide(0);
    }
});

if (document.images) 
{
//Image preload
/**   img1 = new Image();
   img1.src = "img/navigation-08.png";
*/
}

// Clear search form
function clickclear(thisfield, defaulttext) {
  if (thisfield.value == defaulttext) {
    thisfield.value = "";
  }
}

function clickrecall(thisfield, defaulttext) {
	if (thisfield.value == "") {
   thisfield.value = defaulttext;
  }
}
// JavaScript Document
